package com.sdk4.jinritemai.model.request;

import com.sdk4.jinritemai.DoudianRequest;
import com.sdk4.jinritemai.model.response.DoudianAfterSaleBuyerExchangeResponse;
import lombok.Getter;
import lombok.Setter;

/**
 * 商家处理换货申请
 */
@Getter
@Setter
public class DoudianAfterSaleBuyerExchangeRequest implements DoudianRequest<DoudianAfterSaleBuyerExchangeResponse> {
    private final String method = "afterSale.buyerExchange";

    /**
     * comment : 未收到货
     * aftersale_id : 123123123123
     * sms_id : 1
     * is_reject : true
     */

    private String comment;
    private String aftersaleId;
    private String smsId;
    private String isReject;

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getAftersaleId() {
        return aftersaleId;
    }

    public void setAftersaleId(String aftersaleId) {
        this.aftersaleId = aftersaleId;
    }

    public String getSmsId() {
        return smsId;
    }

    public void setSmsId(String smsId) {
        this.smsId = smsId;
    }

    public String getIsReject() {
        return isReject;
    }

    public void setIsReject(String isReject) {
        this.isReject = isReject;
    }

    @Override
    public String getMethod() {
        return method;
    }

    @Override
    public Class<DoudianAfterSaleBuyerExchangeResponse> getResponseClass() {
        return DoudianAfterSaleBuyerExchangeResponse.class;
    }
}
